package com.weibo.dao;

import com.weibo.entity.Blog;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface BlogDao {

    List<Blog> getList(HashMap<String,Object> param);

    Blog getOne(int blogId);

    void add(Blog blog);

    void update(Blog blog);
}
